console.log( [] instanceof Array)
console.log( [] instanceof Object)

// 手写instanceof
function MyInstanceof(left, right) {
    while (left !== null) {
        if (left.__proto__ === right.prototype){
            return true
        }
        left = left.__proto__
    }
    return false
}